package com.yuanfeng.basedata.response;

/**
 * @ClassName RepeatCodeResult
 * @Description T0D0
 * @Author yuanfeng
 * @Date 2019/9/7 7:52
 * @Version 1.0
 **/
public enum ResultEnum {

    UNKONW_ERROR(800,"未知错误"),
    SUCCESS(200,"成功"),
    LOSE(402,"登录失效"),
    NOT_LOGIN(401,"用户未登录"),
    ERROR(500,"失败");

    private Integer code;
    private String msg;

    ResultEnum(Integer code,String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}

